package com.slf.common;

public class IndexCollectData {
	private String code;//指数代码
	private String date;//日期
	private String time;//时间
	private long bigAmount;//净大单总量
	private long sumAmount;//总成交量
	private double indexPrice;//指数价格
	private double futuresPrice;//期货价格
	private double filed1;//保留字段
	private double filed2;//保留字段
	private long totalAskAmount;//盘口总卖出量，去除涨跌停
	private long totalBidAmount;//盘口总买入量，去除涨跌停
	private double totalBidRate;//买盘比率
	private int isLastTradeDate;//是否是最后交易日，1表示是最后交易日，0表示不是最后交易日
	private int riseNum;//成分股上涨个数
	private int fallNum;//成分股下跌个数
	private double filed3;//保留字段
	private long bsBigSumAmount;//买卖大单总量

	public IndexCollectData() {
	}

	public IndexCollectData(IndexCollectData oldData) {
		this.code = oldData.code;
		this.date = oldData.date;
		this.time = oldData.time;
		this.bigAmount = oldData.bigAmount;
		this.sumAmount = oldData.sumAmount;
		this.indexPrice = oldData.indexPrice;
		this.futuresPrice = oldData.futuresPrice;
		this.filed1 = oldData.filed1;
		this.filed2 = oldData.filed2;
		this.totalAskAmount = oldData.totalAskAmount;
		this.totalBidAmount = oldData.totalBidAmount;
		this.totalBidRate = oldData.totalBidRate;
		this.isLastTradeDate = oldData.isLastTradeDate;
		this.riseNum = oldData.riseNum;
		this.fallNum = oldData.fallNum;
		this.filed3 = oldData.filed3;
		this.bsBigSumAmount = oldData.bsBigSumAmount;
	}

	public IndexCollectData(String code, String date, String time, long bigAmount, long sumAmount, double indexPrice,
                            double futuresPrice, double filed1, double filed2, long totalAskAmount, long totalBidAmount,
                            double totalBidRate, int isLastTradeDate, int riseNum, int fallNum, double filed3, long bsBigSumAmount) {
		this.code = code;
		this.date = date;
		this.time = time;
		this.bigAmount = bigAmount;
		this.sumAmount = sumAmount;
		this.indexPrice = indexPrice;
		this.futuresPrice = futuresPrice;
		this.filed1 = filed1;
		this.filed2 = filed2;
		this.totalAskAmount = totalAskAmount;
		this.totalBidAmount = totalBidAmount;
		this.totalBidRate = totalBidRate;
		this.isLastTradeDate = isLastTradeDate;
		this.riseNum = riseNum;
		this.fallNum = fallNum;
		this.filed3 = filed3;
		this.bsBigSumAmount = bsBigSumAmount;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public long getBigAmount() {
		return bigAmount;
	}
	public void setBigAmount(long bigAmount) {
		this.bigAmount = bigAmount;
	}
	public long getSumAmount() {
		return sumAmount;
	}
	public void setSumAmount(long sumAmount) {
		this.sumAmount = sumAmount;
	}
	public double getIndexPrice() {
		return indexPrice;
	}
	public void setIndexPrice(double indexPrice) {
		this.indexPrice = indexPrice;
	}
	public double getFuturesPrice() {
		return futuresPrice;
	}
	public void setFuturesPrice(double futuresPrice) {
		this.futuresPrice = futuresPrice;
	}
	public double getFiled1() {
		return filed1;
	}
	public void setFiled1(double filed1) {
		this.filed1 = filed1;
	}
	public double getFiled2() {
		return filed2;
	}
	public void setFiled2(double filed2) {
		this.filed2 = filed2;
	}
	public long getTotalBidAmount() {
		return totalBidAmount;
	}
	public void setTotalBidAmount(long totalBidAmount) {
		this.totalBidAmount = totalBidAmount;
	}
	public long getTotalAskAmount() {
		return totalAskAmount;
	}
	public void setTotalAskAmount(long totalAskAmount) {
		this.totalAskAmount = totalAskAmount;
	}
	public double getTotalBidRate() {
		return totalBidRate;
	}
	public void setTotalBidRate(double totalBidRate) {
		this.totalBidRate = totalBidRate;
	}
	public int getIsLastTradeDate() {
		return isLastTradeDate;
	}
	public void setIsLastTradeDate(int isLastTradeDate) {
		this.isLastTradeDate = isLastTradeDate;
	}
	public int getRiseNum() {
		return riseNum;
	}
	public void setRiseNum(int riseNum) {
		this.riseNum = riseNum;
	}
	public int getFallNum() {
		return fallNum;
	}
	public void setFallNum(int fallNum) {
		this.fallNum = fallNum;
	}
	public double getFiled3() {
		return filed3;
	}
	public void setFiled3(double filed3) {
		this.filed3 = filed3;
	}
	public long getBsBigSumAmount() {
		return bsBigSumAmount;
	}
	public void setBsBigSumAmount(long bsBigSumAmount) {
		this.bsBigSumAmount = bsBigSumAmount;
	}
}
